package com.zs.admin.service.wisdbook;

import com.zs.admin.validate.wisdbook.WisdbookDirCreateValidate;
import com.zs.admin.validate.wisdbook.WisdbookDirSearchValidate;
import com.zs.admin.validate.wisdbook.WisdbookDirUpdateValidate;
import com.zs.admin.validate.commons.IdValidate;
import com.zs.admin.vo.wisdbook.WisdbookDirDetailVo;
import com.zs.admin.vo.wisdbook.WisdbookDirListedVo;

import java.util.List;

/**
 * 智书目录服务接口类
 * @author SwAdmin
 */
public interface IWisdbookDirService {

    /**
     * 智书目录列表
     *
     * @author SwAdmin
     * @param searchValidate 搜索参数
     * @return PageResult<WisdbookDirListedVo>
     */
    List<WisdbookDirListedVo> list(WisdbookDirSearchValidate searchValidate);

    /**
     * 智书目录详情
     *
     * @author SwAdmin
     * @param idValidate 主键ID
     * @return WisdbookDirDetailVo
     */
    WisdbookDirDetailVo detail(IdValidate idValidate);

    /**
     * 智书目录新增
     *
     * @author SwAdmin
     * @param createValidate 参数
     */
    WisdbookDirDetailVo add(WisdbookDirCreateValidate createValidate);

    /**
     * 智书目录编辑
     *
     * @author SwAdmin
     * @param updateValidateList 参数
     */
    void edit(List<WisdbookDirUpdateValidate> updateValidateList);

    /**
     * 智书目录删除
     *
     * @author SwAdmin
     * @param idValidateList
     */
    void del(List<IdValidate> idValidateList);

}
